import { AtIcon } from 'taro-ui';
import { View } from '@tarojs/components';
import 'taro-ui/dist/style/components/icon.scss';
import css from './index.module.less';

export default function Loading(props) {
    const { visible } = props;
    return (
        <View>
            {visible == false? null : <AtIcon value='loading-2' size='30' color='red' className={css.rato}></AtIcon>}
        </View>
    );
}
